package com.ruoyi.result.material.service;

import java.util.List;

import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.result.material.domain.ResultContinuingEducationMaterial;
import com.ruoyi.result.material.domain.dto.ResultContinuingEducationMaterialDTO;
import com.ruoyi.result.material.domain.vo.ResultContinuingEducationMaterialVO;

/**
 * 继续教育材料Service接口
 *
 * @author ruoyi
 * @date 2025-01-14
 */
public interface IResultContinuingEducationMaterialService
{
    /**
     * 查询继续教育材料
     *
     * @param id 继续教育材料主键
     * @return 继续教育材料
     */
    public ResultContinuingEducationMaterial selectResultContinuingEducationMaterialById(Long id);

    /**
     * 查询继续教育材料列表
     *
     * @param resultContinuingEducationMaterial 继续教育材料
     * @return 继续教育材料集合
     */
    public TableDataInfo selectResultContinuingEducationMaterialList(ResultContinuingEducationMaterialDTO resultContinuingEducationMaterial);

    /**
     * 新增继续教育材料
     *
     * @param resultContinuingEducationMaterial 继续教育材料
     * @return 结果
     */
    public int insertResultContinuingEducationMaterial(ResultContinuingEducationMaterial resultContinuingEducationMaterial);

    /**
     * 修改继续教育材料
     *
     * @param resultContinuingEducationMaterial 继续教育材料
     * @return 结果
     */
    public int updateResultContinuingEducationMaterial(ResultContinuingEducationMaterial resultContinuingEducationMaterial);

    /**
     * 批量删除继续教育材料
     *
     * @param ids 需要删除的继续教育材料主键集合
     * @return 结果
     */
    public int deleteResultContinuingEducationMaterialByIds(Long[] ids);

    /**
     * 删除继续教育材料信息
     *
     * @param id 继续教育材料主键
     * @return 结果
     */
    public int deleteResultContinuingEducationMaterialById(Long id);

    List<ResultContinuingEducationMaterialVO> selectResultContinuingEducationMaterialByIds(Long[] ids);
}
